regular subsequence